-
Home
-
WooCommerce Square
-
4.2.2
-
Code
-
Classes
- Payment_Gateway_Payment_Tokens_Handler
Total Complexity |
98 |
Dependencies |
9 |
Dependents |
1 |
Total lines |
898 |
Lines of code |
336 |
Logical lines of code |
201 |
Comment lines |
381 |
Methods |
29 |
Properties |
3 |
Methods 29
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_tokens() |
B |
39 |
20 |
57 |
create_token() |
A |
44 |
14 |
43 |
register_payment_tokens_migration_scheduler() |
A |
47 |
7 |
35 |
remove_token() |
S |
56 |
7 |
17 |
set_default_token() |
S |
54 |
6 |
20 |
merge_token_data() |
S |
57 |
6 |
16 |
get_token() |
S |
59 |
3 |
15 |
update_token() |
S |
63 |
3 |
10 |
schedule_token_migration_job() |
S |
66 |
3 |
8 |
get_user_meta_name() |
S |
69 |
3 |
6 |
user_has_token() |
S |
65 |
3 |
9 |
get_order_note() |
S |
60 |
2 |
14 |
format_for_db() |
S |
68 |
2 |
7 |
get_transient_key() |
S |
66 |
2 |
7 |
should_tokenize() |
S |
77 |
2 |
3 |
update_tokens() |
S |
66 |
2 |
8 |
add_token() |
S |
60 |
1 |
13 |
get_environment_id() |
S |
82 |
1 |
3 |
clear_all_transients() |
S |
67 |
1 |
9 |
clear_transient() |
S |
80 |
1 |
3 |
__construct() |
S |
63 |
1 |
9 |
get_merge_attributes() |
S |
78 |
1 |
3 |
tokenization_forced() |
S |
77 |
1 |
3 |
get_token_editor() |
S |
80 |
1 |
3 |
clear_cache_for_new_token() |
S |
81 |
1 |
3 |
should_delete_token() |
S |
82 |
1 |
3 |
build_token() |
S |
79 |
1 |
3 |
increase_query_limit_for_payment_methods() |
S |
82 |
1 |
3 |
get_gateway() |
S |
82 |
1 |
3 |